<script setup lang="ts">
import { inject } from "vue";

const lang = inject("language", "zh") as "en" | "zh";
</script>
<template>
  <h1>首页</h1>
  <div>语言：{{ lang }}</div>
</template>
